﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace FreeOPC.Config.Model
{
    [DataContract]
    public class FCSStation
    {
        private IList<ItemName> _tagNames = new List<ItemName>();

        [DataMember]
        public Int32 StationID
        {
            get;
            set;
        }

        [DataMember]
        public String StationName
        {
            get;
            set;
        }

        [DataMember]
        public IList<ItemName> TagNames
        {
            get
            {
                return _tagNames;
            }
            set
            {
                _tagNames = value;
            }
        }

        [DataMember]
        public string Domain
        {
            get;
            set;
        }

        [DataMember]
        public string SubSystemType
        {
            get;
            set;
        }

        [DataMember]
        public int SubSystemTypeID
        {
            get;
            set;
        }

        [DataMember]
        public string OpcServer
        {
            get;
            set;
        }

        [DataMember]
        public int OpcSvrID
        {
            get;
            set;
        }

        [DataMember]
        public int RDSvrID
        {
            get;
            set;
        }
    }


}
